]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Remove stack from AppDisplay
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 8 Jun 2022 14:32:58 +0000 (11:32 -0300)
committerMarge Bot <marge-bot@gnome.org>
Wed, 10 Aug 2022 15:16:36 +0000 (15:16 +0000)
The stack widget once was a ShellStack and had a prominent role
in layouting AppDisplay, but after a series of reworks it's now
effectively unused, and can be safely removed.

Remove the '_stack' widget from AppDisplay.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>

js/ui/appDisplay.js

index 3bf9a27e2037aa0eac515d430d85e6b1aae56112..b0f85f377fa4340491119a279a8ea58c1bf36c1b 100644 (file)
@@ -1336,13 +1336,7 @@ class AppDisplay extends BaseAppView {
         this._pageManager = new PageManager();
         this._pageManager.connect('layout-changed', () => this._redisplay());
 
-        this._stack = new St.Widget({
-            layout_manager: new Clutter.BinLayout(),
-            x_expand: true,
-            y_expand: true,
-        });
-        this.add_actor(this._stack);
-        this._stack.add_child(this._box);
+        this.add_child(this._box);
 
         this._folderIcons = [];